package com.jrx.anytxn.atom.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "batchconfig.anytxn")
public class AnytxnBatchProperties {
    /**
     * 默认配置
     */
    private DefaultConfig defaultConfig = new DefaultConfig();

    /**
     * 日切作业配置
     */
    private DefaultConfig custBatch = new DefaultConfig(100, 0, 32, 10000);

    public DefaultConfig getCustBatch() {
        return custBatch;
    }

    public void setCustBatch(DefaultConfig custBatch) {
        this.custBatch = custBatch;
    }



}
